package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * CwzbJzgc generated by hbm2java
 */
@Entity
@Table(name = "cwzb_jzgc")
public class CwzbJzgc implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private long ny;
    private BigDecimal jzcsyl;
    private BigDecimal zyywmlrl;
    private BigDecimal yylrl;
    private BigDecimal zzcbcl;
    private BigDecimal zyywsrzzl;
    private BigDecimal jlrzzl;
    private BigDecimal jzczzl;
    private BigDecimal zcfzl;
    private BigDecimal ldbl;
    private BigDecimal sdbl;
    private BigDecimal lxbzbs;
    private BigDecimal xjjllyldfzbl;
    private BigDecimal zbgdhbl;
    private BigDecimal jzcynmdkyebl;
    private BigDecimal zysrxjl;
    private BigDecimal yszkzzl;
    private BigDecimal chzzq;
    private BigDecimal gdzczzl;
    private BigDecimal gdzcjzl;
    private BigDecimal dbbl;
    private BigDecimal yyzs;

    public CwzbJzgc()
    {
    }

    public CwzbJzgc( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public CwzbJzgc( Long id,
                     Jbqk jbqk,
                     String username,
                     String operation,
                     Date optdate,
                     long ny,
                     BigDecimal jzcsyl,
                     BigDecimal zyywmlrl,
                     BigDecimal yylrl,
                     BigDecimal zzcbcl,
                     BigDecimal zyywsrzzl,
                     BigDecimal jlrzzl,
                     BigDecimal jzczzl,
                     BigDecimal zcfzl,
                     BigDecimal ldbl,
                     BigDecimal sdbl,
                     BigDecimal lxbzbs,
                     BigDecimal xjjllyldfzbl,
                     BigDecimal zbgdhbl,
                     BigDecimal jzcynmdkyebl,
                     BigDecimal zysrxjl,
                     BigDecimal yszkzzl,
                     BigDecimal chzzq,
                     BigDecimal gdzczzl,
                     BigDecimal gdzcjzl,
                     BigDecimal dbbl,
                     BigDecimal yyzs )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.ny = ny;
        this.jzcsyl = jzcsyl;
        this.zyywmlrl = zyywmlrl;
        this.yylrl = yylrl;
        this.zzcbcl = zzcbcl;
        this.zyywsrzzl = zyywsrzzl;
        this.jlrzzl = jlrzzl;
        this.jzczzl = jzczzl;
        this.zcfzl = zcfzl;
        this.ldbl = ldbl;
        this.sdbl = sdbl;
        this.lxbzbs = lxbzbs;
        this.xjjllyldfzbl = xjjllyldfzbl;
        this.zbgdhbl = zbgdhbl;
        this.jzcynmdkyebl = jzcynmdkyebl;
        this.zysrxjl = zysrxjl;
        this.yszkzzl = yszkzzl;
        this.chzzq = chzzq;
        this.gdzczzl = gdzczzl;
        this.gdzcjzl = gdzcjzl;
        this.dbbl = dbbl;
        this.yyzs = yyzs;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "jzcsyl", precision = 18, scale = 4)
    public BigDecimal getJzcsyl()
    {
        return this.jzcsyl;
    }

    public void setJzcsyl( BigDecimal jzcsyl )
    {
        this.jzcsyl = jzcsyl;
    }

    @Column(name = "zyywmlrl", precision = 18, scale = 4)
    public BigDecimal getZyywmlrl()
    {
        return this.zyywmlrl;
    }

    public void setZyywmlrl( BigDecimal zyywmlrl )
    {
        this.zyywmlrl = zyywmlrl;
    }

    @Column(name = "yylrl", precision = 18, scale = 4)
    public BigDecimal getYylrl()
    {
        return this.yylrl;
    }

    public void setYylrl( BigDecimal yylrl )
    {
        this.yylrl = yylrl;
    }

    @Column(name = "zzcbcl", precision = 18, scale = 4)
    public BigDecimal getZzcbcl()
    {
        return this.zzcbcl;
    }

    public void setZzcbcl( BigDecimal zzcbcl )
    {
        this.zzcbcl = zzcbcl;
    }

    @Column(name = "zyywsrzzl", precision = 18, scale = 4)
    public BigDecimal getZyywsrzzl()
    {
        return this.zyywsrzzl;
    }

    public void setZyywsrzzl( BigDecimal zyywsrzzl )
    {
        this.zyywsrzzl = zyywsrzzl;
    }

    @Column(name = "jlrzzl", precision = 18, scale = 4)
    public BigDecimal getJlrzzl()
    {
        return this.jlrzzl;
    }

    public void setJlrzzl( BigDecimal jlrzzl )
    {
        this.jlrzzl = jlrzzl;
    }

    @Column(name = "jzczzl", precision = 18, scale = 4)
    public BigDecimal getJzczzl()
    {
        return this.jzczzl;
    }

    public void setJzczzl( BigDecimal jzczzl )
    {
        this.jzczzl = jzczzl;
    }

    @Column(name = "zcfzl", precision = 18, scale = 4)
    public BigDecimal getZcfzl()
    {
        return this.zcfzl;
    }

    public void setZcfzl( BigDecimal zcfzl )
    {
        this.zcfzl = zcfzl;
    }

    @Column(name = "ldbl", precision = 18)
    public BigDecimal getLdbl()
    {
        return this.ldbl;
    }

    public void setLdbl( BigDecimal ldbl )
    {
        this.ldbl = ldbl;
    }

    @Column(name = "sdbl", precision = 18)
    public BigDecimal getSdbl()
    {
        return this.sdbl;
    }

    public void setSdbl( BigDecimal sdbl )
    {
        this.sdbl = sdbl;
    }

    @Column(name = "lxbzbs", precision = 18)
    public BigDecimal getLxbzbs()
    {
        return this.lxbzbs;
    }

    public void setLxbzbs( BigDecimal lxbzbs )
    {
        this.lxbzbs = lxbzbs;
    }

    @Column(name = "xjjllyldfzbl", precision = 18, scale = 4)
    public BigDecimal getXjjllyldfzbl()
    {
        return this.xjjllyldfzbl;
    }

    public void setXjjllyldfzbl( BigDecimal xjjllyldfzbl )
    {
        this.xjjllyldfzbl = xjjllyldfzbl;
    }

    @Column(name = "zbgdhbl", precision = 18, scale = 4)
    public BigDecimal getZbgdhbl()
    {
        return this.zbgdhbl;
    }

    public void setZbgdhbl( BigDecimal zbgdhbl )
    {
        this.zbgdhbl = zbgdhbl;
    }

    @Column(name = "jzcynmdkyebl", precision = 18, scale = 4)
    public BigDecimal getJzcynmdkyebl()
    {
        return this.jzcynmdkyebl;
    }

    public void setJzcynmdkyebl( BigDecimal jzcynmdkyebl )
    {
        this.jzcynmdkyebl = jzcynmdkyebl;
    }

    @Column(name = "zysrxjl", precision = 18, scale = 4)
    public BigDecimal getZysrxjl()
    {
        return this.zysrxjl;
    }

    public void setZysrxjl( BigDecimal zysrxjl )
    {
        this.zysrxjl = zysrxjl;
    }

    @Column(name = "yszkzzl", precision = 18)
    public BigDecimal getYszkzzl()
    {
        return this.yszkzzl;
    }

    public void setYszkzzl( BigDecimal yszkzzl )
    {
        this.yszkzzl = yszkzzl;
    }

    @Column(name = "chzzq", precision = 18)
    public BigDecimal getChzzq()
    {
        return this.chzzq;
    }

    public void setChzzq( BigDecimal chzzq )
    {
        this.chzzq = chzzq;
    }

    @Column(name = "gdzczzl", precision = 18)
    public BigDecimal getGdzczzl()
    {
        return this.gdzczzl;
    }

    public void setGdzczzl( BigDecimal gdzczzl )
    {
        this.gdzczzl = gdzczzl;
    }

    @Column(name = "gdzcjzl", precision = 18, scale = 4)
    public BigDecimal getGdzcjzl()
    {
        return this.gdzcjzl;
    }

    public void setGdzcjzl( BigDecimal gdzcjzl )
    {
        this.gdzcjzl = gdzcjzl;
    }

    @Column(name = "dbbl", precision = 18, scale = 4)
    public BigDecimal getDbbl()
    {
        return this.dbbl;
    }

    public void setDbbl( BigDecimal dbbl )
    {
        this.dbbl = dbbl;
    }

    @Column(name = "yyzs", precision = 18, scale = 4)
    public BigDecimal getYyzs()
    {
        return this.yyzs;
    }

    public void setYyzs( BigDecimal yyzs )
    {
        this.yyzs = yyzs;
    }

}
